home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / windows / wdj1096.zip / ZOLMAN.ZIP / ZVBDLG.ZIP / ZSPIN.H < prev    next >
C/C++ Source or Header  |  1996-01-16  |  682b  |  32 lines

  1. /*
  2.     File: ZSpin.h
  3.     Author: Raja
  4.     Date: Jan 16, 1996
  5.  
  6.     Implementation file for ZSpin class which handles Spin up and spin down
  7.     notifications.
  8. */
  9.  
  10. #ifndef __ZSpin__
  11. #define __ZSpin__
  12.  
  13. #include "afxpriv.h"
  14.  
  15. class ZSpin : public CVBControl
  16. {
  17. public:
  18.     HWND m_hWndEdit;
  19.     virtual BOOL OnChildNotify    (UINT message, WPARAM wParam, LPARAM lParam,
  20.                         LRESULT *pLResult);
  21.     BOOL SubclassVBControl (CWnd* pParent, UINT idChild, BOOL bEmbedded);
  22.     void SetEditControl (HWND hWnd) { m_hWndEdit = hWnd; }
  23.     DECLARE_MESSAGE_MAP()
  24.     DECLARE_DYNAMIC (ZSpin)
  25. };
  26.  
  27. // VBX events.
  28. extern UINT NEAR ZSPIN_VBN_SPINDOWN;
  29. extern UINT NEAR ZSPIN_VBN_SPINUP;
  30.  
  31. #endif // __ZSpin__
  32.